package yf.mall.enums;

import lombok.Getter;

@Getter
public enum ShopLogStatusEnum {

    LOWEST(0,"最低计算")
    ,

    HIGHEST(1,"最高计算")
    ,

    TOTAL(2,"累计计算")
    ;

    int index;
    String value;

    ShopLogStatusEnum(int index, String value) {
        this.index = index;
        this.value = value;
    }

    public static String indexOf(int idx) {
        return AccountRecordBusEnum.values()[idx].getValue();
    }

}
